/*
 */

package jgl.vajra.kingkong.widget.view;

import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.util.AttributeSet;
import android.widget.FrameLayout;

import jgl.vajra.kingkong.R;

public class CommonRippleLayout extends FrameLayout { /*extends MaterialRippleLayout {


    public CommonRippleLayout(Context context) {
        this(context, null);
    }

    public CommonRippleLayout(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public CommonRippleLayout(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
      *//*  app:mrl_rippleAlpha="0.2"
        app:mrl_rippleBackground="@color/red"
        app:mrl_rippleColor="@color/blue_42"
        app:mrl_rippleDelayClick="true"
        app:mrl_rippleDuration="400"
        app:mrl_rippleFadeDuration="75"
        app:mrl_rippleHover="true"
        app:mrl_rippleOverlay="true"*//*
        setRippleHover(true);
        setRippleOverlay(true);

    }*/


    public CommonRippleLayout(@NonNull Context context) {
        super(context);
        init();
    }

    private void init() {
        setBackgroundResource(R.drawable.selector_super_item_pressed);
    }

    public CommonRippleLayout(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public CommonRippleLayout(@NonNull Context context, @Nullable AttributeSet attrs,
                              int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }



}
